package org.example.entity;

import org.msgpack.annotation.Message;

/**
 * @author Aaron
 * @since 2020/12/17 10:48
 * <p>描述：</p>
 */
@Message
public class UserInfo {

    private int age;
    private String name;

    public UserInfo age(int age) {
        this.age = age;
        return this;
    }

    public UserInfo name(String name) {
        this.name = name;
        return this;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
